package com.cskaoyan.service;

import com.cskaoyan.model.Admin;
import com.cskaoyan.model.bo.BaseParamBO;
import com.cskaoyan.model.vo.AdminInfoVO;
import com.cskaoyan.model.vo.DataVO;
import com.cskaoyan.model.vo.InfoDataVO;
import com.cskaoyan.model.vo.LoginDataVO;

public interface AdminService {
    DataVO<Admin> query(BaseParamBO param, String username);

    Admin create(Admin admin);

    void delete(Integer id);

    void update(Admin admin);

    LoginDataVO<AdminInfoVO> getAdminInfoByName(String username);

    InfoDataVO getAdminPermissionInfoByName(String username);

}
